<template>
  <div>
    <el-pagination
      v-model:current-page="page.pageNumber"
      v-model:page-size="page.pageSize"
      :total="page.total"
      :page-sizes="[1, 3, 5, 10, 20]"
      @size-change="query"
      layout="prev, pager, next, sizes, total"
      @current-change="query"
    ></el-pagination>
  </div>
</template>
<script setup>
import { ref } from 'vue';
defineProps(['page']);
const emit = defineEmits(['info-change']);
const query = () => {
  emit('info-change');
};






</script>
<style scoped></style>
